<h2><?php echo __('Categorias de pagantes'); ?></h2>

<p><?php echo $this->Html->link(__('Definir nova categoria'), array('action' => 'add'), array('class'=>'btn btn-primary')); ?></p>

<table cellpadding="0" cellspacing="0" class="table table-bordered table-striped">
<tr>
	<th><?php echo $this->Paginator->sort('nome'); ?></th>
	<th class="actions" width="30px"></th>
</tr>
<?php foreach ($especializacaos as $especializacao): ?>
<tr>
	<td><?php echo h($especializacao['Especializacao']['nome']); ?>&nbsp;</td>
	<td class="actions">
		<div class="btn-toolbar">
			<div class="btn-group">
				<?php echo $this->Html->link("<i class=icon-edit></i>", array('action' => 'edit', $especializacao['Especializacao']['id']), array('class'=>'btn', 'title'=>__('Editar'), 'escape'=>false)); ?>
				<?php echo $this->Form->postLink("<i class=icon-trash></i>", array('action' => 'delete', $especializacao['Especializacao']['id']), array('class'=>'btn', 'title'=>__('Apagar'), 'escape'=>false), __('Deseja apagar %s?', $especializacao['Especializacao']['nome'])); ?>
			</div>
		</div>
	</td>
</tr>
<?php endforeach; ?>
</table>
<p class="text-info">
<?php
echo $this->Paginator->counter(array(
'format' => __('Página {:page} de {:pages}, total de {:count} registros')
));
?>	</p>
<div class="pagination pagination-centered">
	<ul>
		<?php echo $this->Paginator->prev(
			'< '.__('Anterior'),
			array('tag' => 'li', 'class' => 'prev'),
			'<a>< '.__('Anterior').'</a>',
			array('tag' => 'li', 'escape' => false, 'class' => 'prev disabled')
		);?>
		<?php echo $this->Paginator->numbers(array('separator' => '', 'tag'=>'li', 'currentTag'=>'a', 'currentClass'=>'active')); ?>
		<?php echo $this->Paginator->next(
			__('Próximo'). ' >',
			array('tag' => 'li', 'class' => 'prev'),
			'<a>'.__('Próximo').' ></a>',
			array('tag' => 'li', 'escape' => false, 'class' => 'prev disabled')
		);?>
	</ul>
</div>